home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Larry Magid's Essential Internet
/
Larry Magid's Essential Internet (Quarterdeck Corporation)(1995).ISO
/
qsockpro.qip
/
INFORAMP.MPS
< prev
next >
Wrap
Text File
|
1995-10-09
|
1KB
|
56 lines
# InfoRamp Inc. PPP login script
# Copyright 1995 Quarterdeck Corporation
# MPS Script for InfoRamp Inc.
#define the variables we will need
STRING username
STRING password
STRING framing
STRING IPAddress
# uncomment for debugging
#TRACE ON
# reset maximum login timeout.
SetTimeout 90
CfgGetValue "Username" username
IF result = 0 THEN
GetInput "Enter your user name" username
IF result = 0 THEN
PRINT "Warning, no username entered"
ELSE
PRINT "Username set to ["; username; "]"
ENDIF
ENDIF
# get password from access method
CfgGetValue "Password" password
# if the Password field is empty, prompt the user for it.
IF result = 0 THEN
GetPassword "Enter your password" password
IF result = 0 THEN
PRINT "Warning, no password entered"
ELSE
# NOTE: Don't print password.
PRINT "Password set."
ENDIF
ENDIF
CommWaitfor "name:"
CommSend username
CommSend "%r"
CommWaitfor "word:"
CommSend password
CommSend "%r"
CommWaitfor ">"
CommSend "ppp default%r"
END